package com.yiguo.logistics.web;

import java.util.HashMap;

import android.util.Log;

public class WsCheckCode
{
  public WsCheckCode()
  {

  }
  
  /**
   *��ѯ�Ƿ��д�����ţ����򷵻���Ʒ��ƣ�û���򷵻ؿ�
   */
  public String CheckCodeFromWebService(String code)
  {
	String result="";
	try
	{
	  WSHelper wsHelper=new WSHelper("http://172.17.6.64:10000/Service1.asmx");
      HashMap<String, String> map=new HashMap<String, String>();
      map.put("code", code);
      result=wsHelper.GetDataFromWebService("CheckCode", map);
	}
	catch (Exception e)
	{
	  // TODO: handle exception
	  Log.e("ERROR", "CheckCodeFromWebService()"+e.getMessage()+e.toString());
	}
	return result;
  }
  
}
